package dk.mirasola.systemtraining.bridgewidgets.shared.model;

public enum SpecialBid implements Bid {
    PAS, DOUBLE, REDOUBLE, NULLBID;

    static {
        for (int i = 0; i < values().length; i++) {
            values()[i].id = i;
        }
    }

    public static SpecialBid get(int bidId) {
        return values()[bidId];
    }

    private int id;

    public int getId() {
        return id;
    }
}
